const Mock = require('mockjs')

const result = Mock.mock({
  "area|1-4":[{
    id:"@id()",
    name:'莫干山'
  }],
  "school|1-30":[{
    id:"@id()",
    name:'人文学院'
  }],
  "choose|1-20":[{
    id:"@id()",
    name:'历史学'
  }],
  "status|1-4":[{
    id:"@id()",
    name:'正在上课'
  }]
})

module.exports = function (req) {
  return {
    "result": result,
    "error": null,
    "success": true,
    "code": "10000",
    "datetime": Date.now(),
  }
};
